package com.example.eduservice.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author:tjf
 * @Description:
 */
@Data
@Schema(name = "课程信息视图类")
public class EduCourseInfoVO {
    @Schema(description = "课程ID")
    private String id;

    @Schema(description = "课程讲师ID")
    private String teacherId;

    @Schema(description = "课程专业ID")
    private String subjectId;
    @Schema(description = "课程专业父ID")
    private String subjectParentId;

    @Schema(description = "课程标题")
    private String title;

    @Schema(description = "课程销售价格，设置为0则可免费观看")
    // 0.01
    private BigDecimal price;

    @Schema(description = "总课时")
    private Integer lessonNum;

    @Schema(description = "课程封面图片路径")
    private String cover;

    @Schema(description = "课程简介")
    private String description;
}
